import Vue from 'vue'
import Router from 'vue-router'
import login from "@/components/Login";
import Home from "@/components/Home";
import CardInsert from "@/components/CardInsert";
import Like from "@/components/Like";

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'login',
      component: login
    },
    {
      path: '/login',
      name: 'login',
      component: login
    },
    {
      path: '/Home',
      name: 'Home',
      component: Home
    },
    {
      path: '/CardInsert',
      name: 'CardInsert',
      component: CardInsert
    },
    {
      path: '/Like',
      name: 'Like',
      component: Like
    }
  ]
})
